import { defineStore } from 'pinia';

export const useCacheStore = defineStore({
    id: 'cacheData',
    state: ():State => ({

    }),

    actions: {
        
    },

    persist: {
        enabled: true, //开启存储
        strategies: [
            {
                storage: sessionStorage, 
                paths: []
            }
        ]
    }
})